//
//  MimikAppDelegate.m
//  Mimik
//
//  Created by Mikkel Gravgaard on 15/12/09.
//  Copyright __MyCompanyName__ 2009. All rights reserved.
//

#import "MimikAppDelegate.h"
#import "MimikViewController.h"
#import "Game.h"

@implementation MimikAppDelegate

@synthesize window;
@synthesize viewController;


- (void)applicationDidFinishLaunching:(UIApplication *)application {    
    
	Game *game = [[Game alloc] init];
	[viewController setGame:game];
	[game setViewController:viewController];
	
	// Override point for customization after app launch    
    [window addSubview:viewController.view];
    [window makeKeyAndVisible];
	[game release];
	
}


- (void)dealloc {
    [viewController release];
    [window release];
    [super dealloc];
}


@end
